package chapter01;

import java.util.Scanner;

public class ComputeCube {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        double a = in.nextDouble();
        double b = in.nextDouble();
        double c = in.nextDouble();

        double volume = a*b*c;
        double base_area = a*b;
        System.out.println("volume:" + volume);
        System.out.println("base area:" + base_area);
    }
}
